package com.hoshiicloud.user.service.organization;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.user.entity.organization.ComOrganizationAttach;

import java.util.List;


/**
 * <p>
 * 机构附件com_organization_attach 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-04-28
 */
public interface ComOrganizationAttachService extends IService<ComOrganizationAttach> {
    IPage<ComOrganizationAttach> getPage(IPage<ComOrganizationAttach> page, QueryWrapper<ComOrganizationAttach> queryWrapper, String key);

    ComOrganizationAttach getById(Long id);

    boolean save(ComOrganizationAttach entity);

    boolean updateById(ComOrganizationAttach entity);

    boolean insertAttach4ComOrganization(List<ComOrganizationAttach> comOrganizationAttachList);

    boolean deletedByIds(List<Long> ids);
}
